package cn.itcast.myapplication.bean;

public class Course {
    private int courseId;
    private String courseName;
    private String teacherName;
    private String classTime;
    private String classLocation;

    public Course(int courseId, String courseName, String teacherName, String classTime, String classLocation) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.teacherName = teacherName;
        this.classTime = classTime;
        this.classLocation = classLocation;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassTime() {
        return classTime;
    }

    public void setClassTime(String classTime) {
        this.classTime = classTime;
    }

    public String getClassLocation() {
        return classLocation;
    }

    public void setClassLocation(String classLocation) {
        this.classLocation = classLocation;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", classTime='" + classTime + '\'' +
                ", classLocation='" + classLocation + '\'' +
                '}';
    }
}
